
import request from '@shared/apis/request';
import * as apis from '@shared/apis';

/**
 * 获取用户列表
 */
export async function post(params: any) {
    const url = '/users/list';
    const body = await request.post<IDate>(url, params);
    return body.data;
}

export interface IDate {
    items: apis.users.IUser[];
    pagination: { total: number };
}